import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import "./assets/css/index.less";
// 按需加载element
import { registerApp } from "./global";
import { setupStore } from "./store/index";

const rootApp = createApp(App);
registerApp(rootApp);
setupStore();
rootApp.use(store).use(router).mount("#app");
